package com.acme.bankapp.domain.bank.exception;

public class ClientExistsException extends Exception {
    private String name;

    public ClientExistsException(String name) {
        super("Client " + name + "doesn't exist");
        this.name = name;
    }

    public String getName() {
        return name;
    }
}
